2417ca71d5115f16bd13a737087dab5edd04fb99,hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/LossyRetryInvocationHandler.java,LossyRetryInvocationHandler,invokeMethod,#Method#Object[]#,49

Before Change


    int retryCount = RetryCount.get();
    if (retryCount < this.numToDrop) {
      RetryCount.set(++retryCount);
      LOG.info("Drop the response. Current retryCount == " + retryCount);
      throw new RetriableException("Fake Exception");
    } else {
      LOG.info("retryCount == " + retryCount
          + ". It's time to normally process the response");
      return result;
    }
  }

After Change


    int retryCount = RetryCount.get();
    if (retryCount < this.numToDrop) {
      RetryCount.set(++retryCount);
      if (LOG.isDebugEnabled()) {
        LOG.debug("Drop the response. Current retryCount == " + retryCount);
      }
      throw new RetriableException("Fake Exception");
    } else {
      if (LOG.isDebugEnabled()) {
        LOG.debug("retryCount == " + retryCount
          + ". It's time to normally process the response");
      }
      return result;
    }